package com.guigui.gulimall.product.feign;

import com.guigui.gulimall.product.to.RedisCacheSkuInfoTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-seckill")
public interface SecKillFeignService {

    @GetMapping("/killquery/{skuId}")
    RedisCacheSkuInfoTo getKillDetailBySkuId(@PathVariable("skuId") Long skuId);

}
